body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  margin: 0;
}

#startingPage {
  
  position: fixed; /* "fixed" means this element is positioned relative to the viewport. */
  inset: 0; /* this is short hand for setting top, bottom, right, and left to 0. Meaning the #startingPage fills the entire screen */
  background: #222;
  color: white; /* the color of font and other items in the foreground of #startingPage */
  
  display: flex; /* defines #startingPage as a flex container, which allows other attributes to be assigned */
  flex-direction: column; /* sets the "flex type". Column means each element within #startingPage will be stacked on top of each other. */
  justify-content: flex-start; /* Only works in conjunction with "display: flex". This centers the entire stack of elements vertically. i.e. same amount of space at the top of screen and bottom of screen. */
  padding-top: 40px;
  align-items: center; /* This is similar but horizontal direction. This means that the content will be centered left/right */
  font-size: 2rem; /* This means font size is 2x the root element. This impacts the "Frank and the Forklift" title. But we use it here, since "h1" is used in both the #startingPage and #gameContainer. */
  z-index: 10; /* 10 is somewhat arbitrary. The intent is to use a z number higher than other elements so that the landing page is all you see when the site loads. */
}

#beginBtn {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1.2rem;
  cursor: pointer;
}

#startingCanvas {
  border: 2px solid #333;
  border-bottom: 0px;
  background: #7a7979;
}

#gameContainer {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0px;             /* space between children */
  padding: 0px;         /* optional spacing inside container */
  z-index: 1;
}

#gameCanvasWrapper {
  position: relative;
  border: 2px solid #333;
  border-bottom: 0;
}

#gameCanvas {
  display: block;
  background: #7a7979;
  border: 0px;
}

#statDisplay {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 0px;
  margin-top: 0px;
  margin-right: 0px;
  color: black;
  font-size: 24px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  background-color: white;
  z-index: 2;
  pointer-events: none;
}

#lineCanvas {
  border: 2px solid #333;
  background: #b8b8b8;
  margin-bottom: 10px;
}

#inputDiv { /*Input Canvas, commandBox, and debugger are group up */
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}

#commandBox {
  position: absolute;    /* keep inside inputDiv */
  left: 230px;
  top: 70px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  text-align: center;
}

#debug-console {
  position: relative;
  margin-left: 20px;
}


#inputCanvas {
  border: 2px solid #333;
  background: #f0f0f0;
}

/* Turn Off the spinner control arrows for input boxes */
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 20px;
  cursor: pointer;
}

/* Movement Button Class */
.movement {
  background-color: green;
}

/* Next Level Class */
.nextLevel {
  background-color: lightgray;
}